#define _CRT_SECURE_NO_WARNINGS  1
#pragma warning(disable:6031)
#include<stdio.h>
int main(void) {

	int num1, num2, num3;
	printf("Enter phone number [(xxx) xxx-xxxx]: ");
	scanf("(%d)%d-%d", &num1, &num2, &num3);
	printf("You entered  %03d.%03d.%04d\n", num1, num2, num3);

	return 0;
}
